package cn.taleo.member.service.impl;

import cn.taleo.api.service.UserService;
import cn.taleo.common.pojo.TaleoResult;
import cn.taleo.entity.UserDto;
import cn.taleo.member.mapper.UserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


@Slf4j
@RestController
public class UserServiceImpl extends TaleoResult implements UserService {
    @Autowired
    private UserMapper userMapper;


    @Override
    public Map<String, Object> register(UserDto userDto) {
        System.out.println("123");

        userMapper.register(userDto);

        return null;
    }
}
